home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global gMaxBoutons, gSurvolAct, gSurvolPrec, gBarChron, gSujet0, gMessDef1, gBoutons, gChapAct, gEtudAct, gEtudPrec, gMessSty1, g1erSprChr, g1erSprNav, g1erSprLoc, gListBtDec, gSprSel, gLocLabel
- curseur(6)
- set gMaxBoutons to 31
- set g1erSprLoc to 22
- set gListBtDec to []
- setAt(gListBtDec, g1erSprLoc, "PUR")
- setAt(gListBtDec, g1erSprLoc + 1, "BRA")
- setAt(gListBtDec, g1erSprLoc + 2, "GIG")
- setAt(gListBtDec, g1erSprLoc + 3, "HER")
- setAt(gListBtDec, g1erSprLoc + 4, "EUR")
- setAt(gListBtDec, g1erSprLoc + 5, "AFR")
- set gEtudAct to "mon"
- set gChapAct to "DE"
- set gLocLabel to "DE:RN mon"
- if gSujet0 <> "0" then
- set moncod to gSujet0(Le_Code)
- set monSpr to getPos(gListBtDec, moncod)
- if monSpr = 0 then
- if (moncod = "HSN") or (moncod = "APA") or (moncod = "NEC") or (moncod = "HSS") or (moncod = "PNE") or (moncod = "ORE") or (moncod = "HSA") then
- go(label("DE:eur"))
- else
- go(label("DE:afr"))
- end if
- end if
- else
- preLoad(the frame + 10)
- end if
- repeat with i = g1erSprNav + 1 to gMaxBoutons
- if (i <> (g1erSprNav + 5)) and (i <> (g1erSprNav + 6)) then
- set the visible of sprite i to 0
- end if
- end repeat
- set the visible of sprite (g1erSprLoc + 11) to 1
- JukeBox(1, " ")
- end
-